import axios from 'axios'

export const RecordFileService = class RecordFileService {
    static recordFileService = null
    requestUrl = 'http://localhost/recordFiles'

    static getInstance() {
        if (this.recordFileService == null) {
            this.recordFileService = new RecordFileService()
        }
        return this.recordFileService
    }

    /**
     * 查询的方法
     */
    list() {
        return axios.get(this.requestUrl)
    }
}
